package com.bot.pms.project.domain.base;

import java.util.ArrayList;

/**
 * @Author: tian
 * @CreateTime: 2024-12-07
 * @Description:
 * @Version: 1.0
 */

public class PageQueryResult<T> {

    /**
     * 当前页码
     */
    private int pageNo;

    /**
     * 每页条数
     */
    private int pageSize;

    /**
     * 总条数
     */
    private int totalNum;

    /**
     * 页数
     */
    private int pageNum;

    private ArrayList<T> results;

    public PageQueryResult() {
    }

    public int getPageNo() {
        return pageNo;
    }

    public void setPageNo(int pageNo) {
        this.pageNo = pageNo;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getTotalNum() {
        return totalNum;
    }

    public void setTotalNum(int totalNum) {
        this.totalNum = totalNum;
    }

    public ArrayList<T> getResults() {
        return results;
    }

    public void setResults(ArrayList<T> results) {
        this.results = results;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }
}
